package main

import "fmt"

func NewUser() {
	u := User{}
	fmt.Printf("%v \n", u)
	fmt.Printf("%+v \n", u)

	up := &User{}
	fmt.Printf("%v \n", up)
	fmt.Printf("%+v \n", up)
	up2 := new(User)
	println(up2.Name)
	fmt.Printf("%+v \n", up2)

	var up3 *User
	println(up3)
	println(&up3.Name)
}

type User struct {
	Name string
	Age  int
}
